SVM: sync VM-exit perf counters with known VM-exit reasons
authorJan Beulich <jbeulich@suse.com>
Thu, 24 Feb 2022 10:17:26 +0000 (11:17 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 24 Feb 2022 10:17:26 +0000 (11:17 +0100)
commitfdeaceee7149d173327003156ac1c05863f37fc5
treea15a09a01295274b390e9e3b21893c40d52f5ccc
parentfe60fab0424b93c6688d285bd7995226a96937d4
SVM: sync VM-exit perf counters with known VM-exit reasons

This has gone out of sync over time, resulting in NPF and XSETBV exits
incrementing the same counter. Introduce a simplistic mechanism to
hopefully keep things in better sync going forward.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/include/asm/hvm/svm/vmcb.h
xen/arch/x86/include/asm/perfc_defn.h